<div id="left_column">
	<h1>Listing pages</h1>
	  
	<table class="admin">
		<tr>
		  <th class="admin narrow"></th>
		  <th class="admin narrow"></th>
		  <th class="admin">Title</th>      
		</tr>
		  
		<% @pages.each do |page| %>
		<tr>
		  <td class="admin narrow"><%= link_to image_tag('black_icons/delete.png', :class => "button"), page, :confirm => 'Are you sure?', :method => :delete %></td>
		  <td class="admin narrow"><%= link_to image_tag('black_icons/pencil.png', :class => "button"), edit_page_path(page) %></td>
		  <td class="admin"><%= link_to page.title, page.url %></td>
		</tr>
		<% end %>
	</table>
  
 
  
  	<div class="admin_links">
		<%= link_to 'Nova stranica', new_page_path %>
	</div>
</div>